/*
 * debuger.h
 *
 *  Created on: 10.10.2009
 *      Author: chris
 */

#ifndef DEBUGER_H_
#define DEBUGER_H_

#include <string>
#include <iostream>
#include <memory>
#include <cstdlib>
#include "intToStr.h"

using namespace std;

namespace oal {
	class debuger {
	private:
		static debuger* instance;
	public:
		debuger();
		virtual ~debuger();
		static debuger* getInstance(void);
		void add(string text, string file, int line, int level);
	};
	extern debuger *debug;
};
#endif /* DEBUGER_H_ */
